package com.xbongbong.pro.businessproduct.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.detailtab.pojo.BatchAutoMatchProductPoJo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jiyonghui
 * @className BussinessProductBatchAutoMatchDTO
 * @description
 * @date 2020/6/10   14:43
 */
@Getter
@Setter
@ToString
public class BussinessProductBatchAutoMatchDTO extends BaseDTO {


    private static final long serialVersionUID = 1885254401960829725L;

    /**
     * saas标记
     */
    @NotNull(message = "{dto.msg.businessProductBatchList.saasMark.NotNull}")
    private Integer saasMark;



    @NotEmpty(message = "{dto.msg.BussinessProductBatchAutoMatchDTO.productList.NotEmpty}")
    private List<BatchAutoMatchProductPoJo> productList;

    @NotNull(message = "{dto.msg.businessProductList.businessType.NotNull}")
    private Integer businessType;

    private String attr;
}
